import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import ElementPlus from 'element-plus'
import zhCn from "element-plus/es/locale/lang/zh-cn"
import 'element-plus/dist/index.css'
import pinia from '@/store/index'
import './permisstion'
import 'virtual:svg-icons-register'
import 'element-plus/theme-chalk/dark/css-vars.css'
import gloalComponent from '@/components/index'
 

const app = createApp(App)
app.use(router)
app.use(pinia)
app.use(gloalComponent)
app.mount('#app')

app.use(ElementPlus, {
  locale: zhCn,
})